<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp"%>
<c:if test="${initParam['ssoEnable']=='true'}">
    <%@ include file="/WEB-INF/jsp/manage/common/ssoInclude.jsp" %>
</c:if>
<script type="text/javascript">
$(function() {
	$.acooly.framework.registerKeydown('manage_transactionDepositBack_searchform','manage_transactionDepositBack_datagrid');
});

</script>
<div class="easyui-layout" data-options="fit : true,border : false">
  <!-- 查询条件 -->
  <div data-options="region:'north',border:false" style="padding:5px; overflow: hidden;" align="left">
    <form id="manage_transactionDepositBack_searchform" onsubmit="return false">
      <table class="tableForm" width="100%">
        <tr>
          <td align="left">
          	<div>
					GID: <input type="text" class="text" size="15" name="search_LIKE_gid"/>
					内部流水号: <input type="text" class="text" size="15" name="search_LIKE_bizOrderNo"/>
					外部流水号: <input type="text" class="text" size="15" name="search_LIKE_merchOrderNo"/>
					商户号: <input type="text" class="text" size="15" name="search_LIKE_partnerId"/>
					渠道编码: <input type="text" class="text" size="15" name="search_LIKE_gatewayChannelApi"/>
					交易标识: <input type="text" class="text" size="15" name="search_LIKE_tradeType"/>
					交易金额: <input type="text" class="text" size="15" name="search_EQ_amount"/>
					到账金额: <input type="text" class="text" size="15" name="search_EQ_amountIn"/>
					币种: <input type="text" class="text" size="15" name="search_LIKE_currency"/>
					交易时间: <input size="15" class="text" id="search_GTE_transTime" name="search_GTE_transTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					至<input size="15" class="text" id="search_LTE_transTime" name="search_LTE_transTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					清算时间: <input size="15" class="text" id="search_GTE_settleTime" name="search_GTE_settleTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					至<input size="15" class="text" id="search_LTE_settleTime" name="search_LTE_settleTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					网关时间: <input size="15" class="text" id="search_GTE_gatewayTime" name="search_GTE_gatewayTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					至<input size="15" class="text" id="search_LTE_gatewayTime" name="search_LTE_gatewayTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					通知状态 : <input type="text" class="text" size="15" name="search_LIKE_notifyStatus"/>
					交易状态: <input type="text" class="text" size="15" name="search_LIKE_status"/>
					退款银行编码: <input type="text" class="text" size="15" name="search_LIKE_backBankId"/>
					退款账号: <input type="text" class="text" size="15" name="search_LIKE_backAccountNo"/>
					create_time: <input size="15" class="text" id="search_GTE_createTime" name="search_GTE_createTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					至<input size="15" class="text" id="search_LTE_createTime" name="search_LTE_createTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					update_time: <input size="15" class="text" id="search_GTE_updateTime" name="search_GTE_updateTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
					至<input size="15" class="text" id="search_LTE_updateTime" name="search_LTE_updateTime" onFocus="WdatePicker({readOnly:true,dateFmt:'yyyy-MM-dd'})" />
          	<a href="javascript:void(0);" class="easyui-linkbutton" data-options="plain:false" onclick="$.acooly.framework.search('manage_transactionDepositBack_searchform','manage_transactionDepositBack_datagrid');"><i class="fa fa-search fa-lg fa-fw fa-col"></i>查询</a>
          	</div>
          </td>
        </tr>
      </table>
    </form>
  </div>

  <!-- 列表和工具栏 -->
  <div data-options="region:'center',border:false">
    <table id="manage_transactionDepositBack_datagrid" class="easyui-datagrid" url="${pageContext.request.contextPath}/manage/depositback/transactionDepositBack/listJson.html" toolbar="#manage_transactionDepositBack_toolbar" fit="true" border="false" fitColumns="false"
      pagination="true" idField="id" pageSize="20" pageList="[ 10, 20, 30, 40, 50 ]" sortName="id" sortOrder="desc" checkOnSelect="true" selectOnCheck="true" singleSelect="true">
      <thead>
        <tr>
        	<th field="showCheckboxWithId" checkbox="true" data-options="formatter:function(value, row, index){ return row.id }">编号</th>
			<th field="id" sum="true">ID</th>
			<th field="gid">GID</th>
			<th field="bizOrderNo">内部流水号</th>
			<th field="merchOrderNo">外部流水号</th>
			<th field="partnerId">商户号</th>
			<th field="gatewayChannelApi">渠道编码</th>
			<th field="oldGatewayChannelApi">原渠道编码</th>
			<th field="oldBizOrderNo">原内部流水号</th>
			<th field="tradeType">交易标识</th>
			<th field="amount" >交易金额</th>
			<th field="amountIn" >到账金额</th>
			<th field="currency">币种</th>
		    <th field="transTime" formatter="dateTimeFormatter">交易时间</th>
		    <th field="settleTime" formatter="dateTimeFormatter">清算时间</th>
		    <th field="gatewayTime" formatter="dateTimeFormatter">网关时间</th>
			<th field="notifyStatus">通知状态 </th>
			<th field="status">交易状态</th>
			<th field="backBankId">退款银行编码</th>
			<th field="backAccountNo">退款账号</th>
			<th field="backAccountName">退款账号名</th>
			<th field="refundReason">退款原因</th>
			<th field="extendFields">扩展字段</th>
			<th field="detail">结果信息</th>
			<th field="code">结果码</th>
		    <th field="createTime" formatter="dateTimeFormatter">create_time</th>
		    <th field="updateTime" formatter="dateTimeFormatter">update_time</th>
          	<th field="rowActions" data-options="formatter:function(value, row, index){return formatAction('manage_transactionDepositBack_action',value,row)}">动作</th>
        </tr>
      </thead>
    </table>

    <!-- 每行的Action动作模板 -->
    <div id="manage_transactionDepositBack_action" style="display: none;">
      <a onclick="$.acooly.framework.edit({url:'/manage/depositback/transactionDepositBack/edit.html',id:'{0}',entity:'transactionDepositBack',width:500,height:400});" href="#" title="编辑"><i class="fa fa-pencil fa-lg fa-fw fa-col"></i></a>
      <a onclick="$.acooly.framework.show('/manage/depositback/transactionDepositBack/show.html?id={0}',500,400);" href="#" title="查看"><i class="fa fa-file-o fa-lg fa-fw fa-col"></i></a>
      <a onclick="$.acooly.framework.remove('/manage/depositback/transactionDepositBack/deleteJson.html','{0}','manage_transactionDepositBack_datagrid');" href="#" title="删除"><i class="fa fa-trash-o fa-lg fa-fw fa-col"></i></a>
    </div>

    <!-- 表格的工具栏 -->
    <div id="manage_transactionDepositBack_toolbar">
      <a href="#" class="easyui-linkbutton" plain="true" onclick="$.acooly.framework.create({url:'/manage/depositback/transactionDepositBack/create.html',entity:'transactionDepositBack',width:500,height:400})"><i class="fa fa-plus-circle fa-lg fa-fw fa-col"></i>添加</a>
      <a href="#" class="easyui-linkbutton" plain="true" onclick="$.acooly.framework.removes('/manage/depositback/transactionDepositBack/deleteJson.html','manage_transactionDepositBack_datagrid')"><i class="fa fa-trash-o fa-lg fa-fw fa-col"></i>批量删除</a>
      <a href="#" class="easyui-menubutton" data-options="menu:'#manage_transactionDepositBack_exports_menu'"><i class="fa fa-arrow-circle-o-down fa-lg fa-fw fa-col"></i>批量导出</a>
      <div id="manage_transactionDepositBack_exports_menu" style="width:150px;">
        <div onclick="$.acooly.framework.exports('/manage/depositback/transactionDepositBack/exportXls.html','manage_transactionDepositBack_searchform','center_transaction_deposit_back')"><i class="fa fa-file-excel-o fa-lg fa-fw fa-col"></i>Excel</div>
        <div onclick="$.acooly.framework.exports('/manage/depositback/transactionDepositBack/exportCsv.html','manage_transactionDepositBack_searchform','center_transaction_deposit_back')"><i class="fa fa-file-text-o fa-lg fa-fw fa-col"></i>CSV</div>
      </div>
      <a href="#" class="easyui-linkbutton" plain="true" onclick="$.acooly.framework.imports({url:'/manage/depositback/transactionDepositBack/importView.html',uploader:'manage_transactionDepositBack_import_uploader_file'});"><i class="fa fa-arrow-circle-o-up fa-lg fa-fw fa-col"></i>批量导入</a>
    </div>
  </div>

</div>
